import { requestClient } from '#/api/request';

/**
 * 分页查询
 */
export async function loadMaterialAttributeOptionPageApi(param: any) {
  return requestClient.post<any>('material/attribute/option/page', param);
}

/**
 * 保存
 */
export async function saveMaterialAttributeOptionApi(param: any) {
  return requestClient.post<any>('material/attribute/option/save', param);
}

/**
 * 删除
 */
export async function removeMaterialAttributeOptionApi(param: any) {
  return requestClient.post<any>(
    'material/attribute/option/remove-by-ids',
    param,
  );
}
